package day11zy.shengna;

public class Qianting implements Youdong {
    @Override
    public void youdong() {
        System.out.println("潜艇在游");
    }

    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public Qianting(){

    }
    public Qianting(String name){
        this.name = name;
    }
}
